// import com.alibaba.druid.sql.ast.SQLName;
// import com.alibaba.druid.sql.dialect.mysql.visitor.MySqlASTVisitor;

#include "MySqlShowPartitionsStatement.h"
#include "../../../../ast/SQLName.h"
#include "../../visitor/MySqlASTVisitor.h"

SQLName_ptr MySqlShowPartitionsStatement::getName()
{
  return name;
}

void MySqlShowPartitionsStatement::setName(SQLName_ptr name)
{
  this->name = name;
}

void MySqlShowPartitionsStatement::accept0(MySqlASTVisitor_ptr visitor)
{
  if (visitor->visit(SharedObject(MySqlShowPartitionsStatement)))
  {
    acceptChild(visitor, name);
  }
  visitor->endVisit(SharedObject(MySqlShowPartitionsStatement));
}
